﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
    #parse("View_Header.html")
</head>
<body>

    <div id="pagemasker">
    </div>
    <div id="doc">
        <!--头部top begin-->
        #parse("View_TopHeader.html")
        <!--头部top end-->
        <div class="bdw" id="bdw">
            <div class="cf" id="bd">
                <div id="recent-deals">
                    <div id="content">
                        <div class="box">
                            <div class="box-content">
                                <div class="head">
                                    <dl class="sq-t">
                                        <dt><a href="#">产品分类</a></dt>
                                        <dd>
                                            <a
                                            #if(0 == $CategoryID  )
                                                    class="this_fl"
                                                #end
                                             href="/indexLast.aspx">全部</a> 
                                            #foreach($info in ${xf.ViewFindChild(0)}) 
                                                <a 
                                                #if($info.CategoryID  == $MenuID || $info.CategoryID  == $CategoryID  )
                                                    class="this_fl"
                                                #end
                                                 href="/indexLast.aspx?CategoryID=${info.CategoryID}">${info.C_Name}(${info.C_ChildCount})</a>
                                                #end
                           
                                        </dd>
                                        <p class="clear">
                                            #foreach($info in ${xf.ViewFindChild($MenuID)}) 
                                                <a
                                                 #if($info.CategoryID  == $MenuID || $info.CategoryID  == $CategoryID  )
                                                    class="this_fl"
                                                #end
                                                 href="/indexLast.aspx?CategoryID=${info.CategoryID}" >${info.C_Name} </a>
                                            #end
                            
                                        </p>
                                    </dl>
                                    <div class="wq_find">
                        
                                        <div class="wq_Sort">
                                            <dt><a href="#">排序</a></dt>
                                            <dd>
                                                <a   href="/indexLast.aspx?CategoryID=$CategoryID">
                                                    默认</a> <a href="/indexLast.aspx?CategoryID=$CategoryID&Orderfld=SalesNumber">
                                                        人气</a> <a href="/indexLast.aspx?CategoryID=$CategoryID&Orderfld=PriceNow&OrderType=0">
                                                            价格由低到高</a>
                                            </dd>
                                        </div>
                                    </div>
                                </div>
                                <div class="sect">
                                    <ul class="deals-list">
                                      #foreach($ProductItem in $ProductList) 
                               
                                         <li class=" first">
                                            <p class="time">
                                                $ProductItem.StartTime.ToString("yyyy-MM-dd")</p>
                                            <h4>
                                                <a target="_blank" title="$ProductItem.Title"
                                                    href="/team.aspx?id=$ProductItem.ID">$ProductItem.Title</a></h4>
                                            <div class="info">
                                                <p class="howmanypp_buy">
                                                    <strong class="count">$ProductItem.SalesNumber</strong>人购买</p>
                                                <p class="price">
                                                    <span class="price_xian">现价：</span><span class="xian_money">￥$ProductItem.PriceNow</span><br>
                                                    原价:<strong class="old"><span class="money">￥</span>$ProductItem.PriceOriginal</strong><br>
                                                    折扣：<strong class="discount">${xf.ViewProductDiscount($ProductItem)}折</strong><br>
                                                </p>
                                            </div>
                                            <div class="pic">
                                                <div class="normal_on">
                                                </div>
                                                <a target="_blank" title="$ProductItem.Title"
                                                    class="isopenlink" href="/team.aspx?id=$ProductItem.ID"></a><a target="_blank" title="$ProductItem.Title"
                                                        href="/team.aspx?id=$ProductItem.ID">
                                                        <img width="163" height="104" src="$xf.ViewPicture($ProductItem,false)"
                                                            alt="$ProductItem.Title"></a></div>
                                        </li>

                                      #end

                                      
                                    </ul>
                                    <div class="clear">
                                    </div>
                                    <div>
                                        $Pager
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="sidebar">
                        
                        <div class="bottom">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
        #parse("View_Footer.html")


</body>
</html> 